package com.runyu.cordova.plugin.crypto;

import org.apache.cordova.CordovaWebView;

import com.honeywell.aidc.AidcManager;
import com.runyu.cordova.plugin.DeviceManager;

import android.content.Context;

public class NativeLicense {
	static {
		System.loadLibrary("c++_shared");
		System.loadLibrary("rylc");
	}

	public static native boolean checkLicense(DeviceManager manager, Context applicationContext);

	public static native boolean subjectLicense(DeviceManager manager, Context applicationContext, String key);

	public static native boolean startApp(CordovaWebView webView, Context applicationContext);

}
